Skip to content

feat: add support for Serverless node devDeps exclusion feature #25

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversation

adieuadieu
Copy link
Contributor

@adieuadieu adieuadieu commented Jul 2, 2017

Serverless 0.16.0 introduced a feature which excludes Node.js dev dependencies from .zip files. The feature uses package.json to find which dependencies can be excluded.

This PR adds code to copy the package.json to the .build folder, so that Serverless can find the package.json file during packaging.

Serverless 0.16.0 introduced a feature which excludes Node.js dev dependencies from .zip files. The feature uses package.json to find which dependencies can be excluded.
serverless/serverless#3737

This commit adds the package.json to the .build folder, so that Serverless can find the package.json file.
@schickling schickling merged commit 7708f3b into serverless:master Jul 3, 2017
@adieuadieu adieuadieu deleted the feat/support-serverless-exclude-node-dev-deps-feature branch July 3, 2017 08:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants